import request from '@/utils/request';
export default {
  /**
   * 注册
   */
  register: (data) =>
    request({
      url: '/register',
      method: 'post',
      data,
    }),
  /**
   * 登录
   */
  registerLogin: (data) =>
    request({
      url: '/register/login',
      method: 'post',
      data,
    }),
};
